Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. cannot find -lqbspkgconfig
Forum Updated to NodeBB v4.3 + New Features

cannot find -lqbspkgconfig

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 594 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hu Junhao
    wrote on last edited by
    #1

    I'm trying to compile Qt Creator 6.0.1 from offcial release from download.qt.io with MinGW-w64(GCC10.2.1).
    I followed the guide of other's document, only qmake and make.
    After waiting for a long time, I finally get a error message.:cannot find -lqbspkgconfig.
    The command above is
    "Entering directory 'F:/creator/qt-creator-opensource-src-6.0.1/src/shared/qbs/src/lib/corelib'
    g++ -Wl,-s -shared -Wl,-subsystem,windows -mthreads -Wl,--out-implib,F:\creator\qt-creator-opensource-src-6.0.1\lib\qtcreator\libqbscore1.a -o ............\lib\qtcreator\qbscore1.dll @object_script.qbscore.Release -LF:\creator\qt-creator-opensource-src-6.0.1\lib\qtcreator F:\creator\qt-creator-opensource-src-6.0.1\lib\qtcreator\libqbsscriptengine1.a -lqbspkgconfig -lstdc++fs -lpsapi -lshell32 F:\Qt\6.0.0\mingw81_64\lib\libQt6Core5Compat.a F:\Qt\6.0.0\mingw81_64\lib\libQt6Network.a F:\Qt\6.0.0\mingw81_64\lib\libQt6Xml.a F:\Qt\6.0.0\mingw81_64\lib\libQt6Core.a release\qbscore_resource_res.o"
    I search for long time, only few message has nothing to do with my problem.
    Any solutions?

    jsulmJ 1 Reply Last reply
    0
    • H Hu Junhao

      I'm trying to compile Qt Creator 6.0.1 from offcial release from download.qt.io with MinGW-w64(GCC10.2.1).
      I followed the guide of other's document, only qmake and make.
      After waiting for a long time, I finally get a error message.:cannot find -lqbspkgconfig.
      The command above is
      "Entering directory 'F:/creator/qt-creator-opensource-src-6.0.1/src/shared/qbs/src/lib/corelib'
      g++ -Wl,-s -shared -Wl,-subsystem,windows -mthreads -Wl,--out-implib,F:\creator\qt-creator-opensource-src-6.0.1\lib\qtcreator\libqbscore1.a -o ............\lib\qtcreator\qbscore1.dll @object_script.qbscore.Release -LF:\creator\qt-creator-opensource-src-6.0.1\lib\qtcreator F:\creator\qt-creator-opensource-src-6.0.1\lib\qtcreator\libqbsscriptengine1.a -lqbspkgconfig -lstdc++fs -lpsapi -lshell32 F:\Qt\6.0.0\mingw81_64\lib\libQt6Core5Compat.a F:\Qt\6.0.0\mingw81_64\lib\libQt6Network.a F:\Qt\6.0.0\mingw81_64\lib\libQt6Xml.a F:\Qt\6.0.0\mingw81_64\lib\libQt6Core.a release\qbscore_resource_res.o"
      I search for long time, only few message has nothing to do with my problem.
      Any solutions?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Hu-Junhao Looks like you're using Qt6.0.0?
      I suggested to use latest official Qt6 release.
      Also, do you really need to build QtCreator by yourself?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hu Junhao
        wrote on last edited by
        #3

        You're right,I'm using Qt 6.0.0.
        I want to create a Qt Creator Plugin, but I really don't know how to choose the build Qt Creator build, until I found this topic"https://forum.qt.io/topic/132496/wizard-made-creator-plugin-builds-fail".
        The solution seems like I need to build Qt Creator by myself. I'm not sure whether it's neccessary.

        jsulmJ 1 Reply Last reply
        0
        • H Hu Junhao

          You're right,I'm using Qt 6.0.0.
          I want to create a Qt Creator Plugin, but I really don't know how to choose the build Qt Creator build, until I found this topic"https://forum.qt.io/topic/132496/wizard-made-creator-plugin-builds-fail".
          The solution seems like I need to build Qt Creator by myself. I'm not sure whether it's neccessary.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Hu-Junhao said in cannot find -lqbspkgconfig:

          The solution seems like I need to build Qt Creator by myself

          Not really. You need to use exact same Qt version like the one used to build QtCreator. Open the "About QtCreator" dialog and you will see which Qt version was used to build it.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • H Offline
            H Offline
            Hu Junhao
            wrote on last edited by
            #5

            Thanks, I'll try.

            1 Reply Last reply
            0
            • cristian-adamC Online
              cristian-adamC Online
              cristian-adam
              wrote on last edited by
              #6

              In order to build Qt Creator plugins you don't need to build Qt Creator itself. Unless you are using a compiler that is not used to build the official Qt Installations.

              For example, you only need to select the Qt Creator 6.0.2 Plugin Development checkbox in the installer.

              qtcreator-plugin-development.png ![alt text](image url)

              If you decide to build Qt Creator yourself, please note that the CMake build system is being officially supported to build Qt Creator.

              1 Reply Last reply
              1

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved